From: robinhood701 Date: Tue, 21 Oct 2014 01:38:44 +0000 (-0400) Subject: Fix pagecount output X-Git-Tag: 1.31.0-rc.0~13539^2 X-Git-Url: http://git.cyclocoop.org/%28%5B%5E/404?a=commitdiff_plain;h=94f4fc5ebd3c85a898e01d4aaa14b1b92d5e243d;p=lhc%2Fweb%2Fwiklou.git Fix pagecount output Change-Id: I9ff3b986a2e1fdedb2ec5e281dbcaf6e35d3c2d0 --- diff --git a/includes/api/ApiQueryFilearchive.php b/includes/api/ApiQueryFilearchive.php index b4638d97ff..415cb3d32c 100644 --- a/includes/api/ApiQueryFilearchive.php +++ b/includes/api/ApiQueryFilearchive.php @@ -193,7 +193,7 @@ class ApiQueryFilearchive extends ApiQueryBase { $pageCount = ArchivedFile::newFromRow( $row )->pageCount(); if ( $pageCount !== false ) { - $vals['pagecount'] = $pageCount; + $file['pagecount'] = $pageCount; } $file['height'] = $row->fa_height;